package com.ychs.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

/**
 * copyright(c)2021 YYB.ALL rights Reserved
 * <p>
 * 描述:成员实体类
 *
 * @author 原玉波
 * @version 1.0
 * @date 2021/5/23
 */
@JsonIgnoreProperties(value = {"handler"})
public class Member implements Serializable {
    /**
     * 编号
     */
    private int id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 学号
     */
    private String code;
    /**
     *性别
     */
    private int sex;
    /**
     *年级
     */
    private int grade;
    /**
     *籍贯
     */
    private String nativePlace;
    /**
     *电话
     */
    private String phone;
    /**
     *院系
     */
    private College college;
    /**
     *专业
     */
    private Major major;
    /**
     *校内职务
     */
    private String schoolJob;
    /**
     *加入日期
     */
    private String joinDate;
    /**
     *状态
     */
    private String state;
    /**
     *实验室职务
     */
    private String labJob;
    /**
     *备注
     */
    private String remark;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public College getCollege() {
        return college;
    }

    public void setCollege(College college) {
        this.college = college;
    }

    public Major getMajor() {
        return major;
    }

    public void setMajor(Major major) {
        this.major = major;
    }

    public String getSchoolJob() {
        return schoolJob;
    }

    public void setSchoolJob(String schoolJob) {
        this.schoolJob = schoolJob;
    }

    public String getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(String joinDate) {
        this.joinDate = joinDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getLabJob() {
        return labJob;
    }

    public void setLabJob(String labJob) {
        this.labJob = labJob;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Member{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", sex=" + sex +
                ", grade=" + grade +
                ", nativePlace='" + nativePlace + '\'' +
                ", phone='" + phone + '\'' +
                ", college=" + college +
                ", major=" + major +
                ", schoolJob='" + schoolJob + '\'' +
                ", joinDate='" + joinDate + '\'' +
                ", state='" + state + '\'' +
                ", labJob='" + labJob + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
